import React from 'react'

export default function Search({queryList}) {
    return (
    <div>
        <input onChange={(e)=>{
                queryList(e.target.value);
        }}/>
    </div>
  )
}
